package com.direct.domian;
/**
 * 角色可授权类
 * @author Administrator
 *
 */
public class GrantPower  {

     private String id;
     private Power power;
     private Role role;

    public GrantPower() {
    }
    
    public GrantPower(Power power, Role role) {
        this.power = power;
        this.role = role;
    }

   

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public Power getPower() {
        return this.power;
    }
    
    public void setPower(Power power) {
        this.power = power;
    }

    public Role getRole() {
        return this.role;
    }
    
    public void setRole(Role role) {
        this.role = role;
    }

}